package yl.hs.bmipfull.daos.laboratorydata;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.laboratorydata.LabExperimentDefinitionlibsEntity;
import yl.hs.bmipfull.pojo.laboratorydata.LabExperimentItemsEntity;
import yl.hs.bmipfull.pojo.material.PurchaseContractEntity;
import yl.hs.bmipfull.viewmodels.PageQuery;

import java.util.List;
import java.util.Map;

/**
 * 作用:   <br/>
 * 创建时间: 2022-06-20 08:49 <br/>
 *
 * @author 吴高丰
 */
@Repository
public interface ILabExperimentDefinitionLibsDao extends BaseDao<LabExperimentDefinitionlibsEntity> {

    Integer queryCountByCondition(@Param("map") Map<String, Object> query,@Param("filters") List<Map<String,Object>> filters);

    List<LabExperimentDefinitionlibsEntity> queryList(@Param("map") Map<String, Object> map,@Param("filters") List<Map<String,Object>> filters);

    List<LabExperimentDefinitionlibsEntity> queryPage(@Param("map") Map<String, Object> map,@Param("filters") List<Map<String,Object>> filters);

    Integer UpdateStateBySN(@Param("sn") String sn,@Param("state") int state);
}
